package com.gexin.app.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gexin.app.entity.Question;
import com.gexin.app.request.category.CategoryDto;
import org.springframework.stereotype.Service;

import java.util.List;

public interface QuestionService {

    Boolean addCategory(String name, Long parentId);

    List<CategoryDto> getSubCateByParentId(Long id);


}
